﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DeviceFinder.Models
{
    public class RequestTokenModel
    {
        private string email;

        public string Email
        {
            get { return email; }
            set { email = value; }
        }

        private string password;

        public string Password
        {
            get { return password; }
            set { password = value; }
        }

    }
    public class RequestToken
    {
        public string Token { get; set; }
        public List<Device> Devices { get; set; }
        public REQUEST_TOKEN_STATUS Status { get; set; }
    }
    public class Device
    {
        public int Id { get; set; }
        public string Name { get; set; }
    }
    public enum REQUEST_TOKEN_STATUS
    {
        SUCCESS = 1,
        FAIL = -1
    }
}